/* Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/

import {Array1D} from 'deeplearn';

function convert(arr: number[]) {
  return Array1D.new(arr);
}
/* tslint:disable:max-line-length */
export const zero = convert([
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]);

export const serif = convert([
  0.0371049,  -0.00813934,  -0.0238383,  -0.0089827, -0.177821,  -0.0574084,
  0.0770413,  -0.000690518, 0.0769115,   0.0351161,  0.0814512,  -0.051607,
  -0.0107203, 0.0349532,    -0.0383251,  0.181566,   0.0180368,  -0.0190421,
  0.00265053, 0.0662852,    -0.00912406, -0.0311079, 0.0265557,  -0.0487921,
  0.0534228,  -0.00273521,  -0.0197219,  -0.0644585, -0.0577662, 0.0156284,
  0.0991329,  -0.0128064,   -0.143012,   0.105797,   -0.0986753, -0.0196918,
  0.0378637,  0.0833659,    -0.095302,   0.0795064
]);

export const serifLight = convert([
  -0.0216557,  -0.00510807, 0.069025,   0.0710787,   -0.121001,  -0.00133361,
  0.0611789,   0.00982594,  0.0879688,  0.0295542,   -0.0122143, -0.063498,
  -0.00521591, -0.0601163,  -0.0713968, 0.0671673,   -0.0106555, -0.0593602,
  0.011764,    0.010934,    -0.0169469, -0.0534629,  -0.0388112, -0.0123401,
  0.0939846,   0.0165921,   0.129371,   -0.00280703, -0.0500156, 0.0379629,
  -0.0618881,  -0.0376599,  -0.0311708, 0.00728275,  0.017297,   -0.0299181,
  0.0465943,   0.0237103,   -0.0745177, 0.0343391
]);

export const serifLightItalic = convert([
  -0.0506065, 0.00701319, 0.0615123,  0.0393102,  -0.0948454,  -0.0137425,
  0.111544,   0.0391769,  0.0859902,  0.0170246,  0.0201402,   -0.136518,
  -0.0167641, -0.0607857, -0.0744675, 0.0540874,  -0.00200216, -0.0665509,
  0.00257809, 0.00233295, 0.0140137,  -0.0801842, -0.0423244,  0.0355004,
  0.0580647,  -0.0138478, 0.0933243,  0.0184801,  -0.0190279,  0.0137804,
  -0.051851,  -0.0562538, -0.0308516, 0.0050458,  0.0519893,   -0.0359038,
  0.0213445,  0.0160722,  -0.0385736, -0.0141683
]);

export const serifItalic = convert([
  -0.00709412, -0.00226927, -0.0460972, -0.0311495, -0.184267,   -0.0840899,
  0.105059,    0.0399571,   0.0399989,  0.015467,   0.109084,    -0.112228,
  -0.0298777,  0.0207973,   -0.0211743, 0.196855,   0.00719617,  -0.0153651,
  -0.029747,   0.0528968,   0.0155452,  -0.0604701, 0.00774953,  -0.0673761,
  0.0450282,   0.00403405,  -0.056351,  -0.0747967, -0.00317429, 0.00762683,
  0.0684082,   -0.0129142,  -0.123977,  0.105213,   -0.0881814,  -0.0121003,
  0.0314497,   0.0708361,   -0.0798091, 0.0637551
]);

export const serifBold = convert([
  -0.0323803, -0.00102793, 0.0124376,  0.0971664,   -0.0357509,  0.00880437,
  0.0196418,  0.0928425,   0.0264077,  0.0598407,   0.0200502,   0.00457189,
  0.00607683, -0.0226146,  -0.0818296, 0.076762,    0.0432937,   0.00609478,
  -0.0218808, 0.0843609,   0.040894,   0.0583095,   -0.00730641, -0.00898112,
  0.0336852,  -0.0283388,  0.144419,   0.000946873, -0.030562,   0.0232463,
  -0.0181779, -0.0490096,  0.0204086,  0.0238225,   -0.0453906,  -0.0710924,
  0.00432009, 0.0292283,   -0.106795,  -0.00453245
]);

export const serifBoldItalic = convert([
  -0.0054048,  0.0159092,   0.0302168,  0.0697037,   -0.0204759,  0.000776367,
  0.0702093,   0.121289,    0.0412071,  0.053307,    0.0288946,   -0.0800687,
  -0.00795932, -0.0132502,  -0.0818488, 0.0581822,   0.0970594,   -0.012045,
  -0.029754,   0.0763988,   0.0766911,  0.000334531, -0.00143468, 0.0227631,
  0.0177566,   -0.00738354, 0.139812,   0.000561706, -0.00535678, -0.0189456,
  -0.0309518,  -0.067577,   0.0270824,  0.0201032,   -0.00600616, -0.0466973,
  -0.0193195,  0.0180092,   -0.077959,  -0.0681573
]);

export const serifBlack = convert([
  0.0909758,  0.00873388, -0.0452807,   0.00794899, -0.10172,  0.0133421,
  0.0696997,  0.0798673,  -0.00728477,  0.0671067,  0.0967286, -0.00251602,
  -0.0127565, 0.033712,   -0.0199663,   0.127594,   0.122419,  -0.0489552,
  -0.0650608, 0.114194,   0.0634069,    0.0545759,  0.101358,  -0.0545972,
  -0.0751137, -0.0346449, -0.000180635, -0.0436914, -0.081506, -0.0354884,
  0.179283,   -0.0188949, -0.150555,    0.08059,    -0.17566,  -0.0940503,
  -0.0355069, 0.0737371,  -0.0923994,   -0.00678041
]);

export const serifBlackItalic = convert([
  0.0530746,   0.0259746,  -0.0597457, -0.0136301, -0.093447,  -0.0184798,
  0.0865628,   0.0964154,  -0.0393477, 0.0705582,  0.110879,   -0.022009,
  -0.00691234, 0.0219029,  -0.0324838, 0.140535,   0.125854,   -0.0149923,
  -0.074845,   0.11951,    0.068344,   0.0206063,  0.104076,   -0.0651419,
  -0.0850527,  -0.0183039, -0.0378232, -0.0587197, -0.0510641, -0.056276,
  0.15372,     -0.0440933, -0.116309,  0.0375091,  -0.144264,  -0.103141,
  -0.0321945,  0.0593374,  -0.0764209, -0.0303033
]);

export const sans = convert([
  0.0329864,     0.0278972,  -0.0212594, -0.0438054, -0.20673,  -0.0515144,
  0.0639917,     0.0071013,  0.0178006,  0.0202469,  0.0394936, -0.064725,
  0.00262303,    0.0336765,  -0.0756649, 0.143307,   0.0699408, -0.016698,
  -0.0000120884, 0.0745099,  -0.0289819, 0.0914947,  0.0431428, -0.0554285,
  0.0503002,     -0.0245987, -0.0348133, 0.0529588,  -0.038719, 0.0323447,
  0.0779103,     -0.0476502, -0.098699,  0.128599,   -0.107683, 0.051812,
  -0.0101372,    0.0735326,  0.0152828,  0.0746854
]);

export const sansLight = convert([
  -0.0912144, -0.11,      0.111232,   0.0268911,  -0.184624,   -0.139461,
  0.00970334, -0.137672,  0.0603388,  -0.136661,  -0.0319242,  -0.139704,
  -0.0818626, 0.049725,   -0.0953409, 0.0501449,  0.00715698,  -0.127478,
  0.0386167,  0.00127029, -0.0356171, 0.00945161, 0.0668662,   0.0346777,
  0.117317,   -0.122311,  0.0307563,  0.114127,   -0.0105379,  0.116233,
  -0.121305,  0.0644086,  -0.0347309, 0.0577119,  -0.00765444, 0.0328864,
  0.143528,   0.00445927, -0.0237287, 0.030197
]);

export const arched = convert([
  0.0806872,   0.110965,   0.086886,   -0.00180176, -0.0882071,  0.0779456,
  0.0905633,   0.00644794, 0.0859038,  -0.0775584,  0.0663978,   0.0141178,
  0.0838117,   -0.0447576, -0.0403048, 0.159673,    0.0229668,   0.0858101,
  0.00908829,  -0.0140885, -0.176689,  -0.0666698,  -0.00964185, -0.0151287,
  -0.0113516,  -0.0881685, -0.0283303, 0.191189,    -0.00184261, 0.130461,
  -0.00693196, 0.069367,   0.138793,   -0.0119836,  -0.00572119, 0.0451849,
  -0.0238382,  0.0167064,  -0.0301301, 0.0886809
]);

export const square = convert([
  -0.0446289, -0.0149773,  -0.0385331, -0.0707373, -0.0335624,  -0.201168,
  0.120355,   -0.118127,   0.0193889,  -0.191945,  -0.0340819,  -0.130116,
  -0.0197822, -0.0997182,  -0.0679762, 0.160299,   0.103083,    -0.110458,
  0.188874,   -0.00039908, -0.0740328, 0.085555,   -0.109459,   -0.0214472,
  -0.135185,  -0.0415408,  0.162826,   0.325578,   -0.122402,   0.102094,
  -0.250864,  0.146409,    0.282807,   -0.102158,  -0.00259758, 0.0411024,
  0.111681,   0.0713722,   -0.0335932, 0.157342
]);

export const dotMatrix = convert([
  0.060615,   -0.000465715, 0.0246598,   0.0944611,  0.0666274,  -0.0487324,
  0.0286003,  -0.184103,    -0.00240539, -0.058848,  0.0184425,  0.0947951,
  0.046714,   -0.153271,    0.00900223,  0.0192062,  -0.0691753, 0.0742756,
  -0.0274342, -0.104143,    -0.0353343,  -0.106598,  0.0335441,  -0.0642195,
  0.203262,   -0.0234517,   -0.0228208,  0.0302247,  -0.185438,  0.039308,
  0.0761878,  -0.0673214,   0.143452,    -0.0856933, 0.0308359,  0.0629813,
  -0.0623102, -0.0449193,   0.0364476,   0.0169692
]);

export const casual = convert([
  0.0375602,   -0.0491304, -0.0209641,  -0.103011,  0.0308724,   -0.130895,
  0.0821889,   -0.0146466, -0.0728875,  0.0734076,  0.01331,     -0.0789973,
  -0.00970982, -0.0468304, 0.0635698,   0.152492,   -0.00944289, 0.0296184,
  0.0047967,   -0.0385626, 0.172074,    -0.0191523, 0.0310322,   -0.00679372,
  -0.0823408,  0.0634969,  -0.0291813,  -0.059585,  -0.0135221,  0.0263487,
  0.0286055,   -0.0484182, -0.00803214, 0.0575465,  0.139084,    0.0246161,
  -0.156613,   0.0779903,  0.139666,    -0.0533868
]);

export const crispSerif = convert([
  -0.0117122, 0.0198984,  0.0271978,  0.0189575,  -0.0547227,  -0.0196669,
  0.0841931,  0.0295952,  0.105422,   -0.0219258, -0.0683342,  -0.132337,
  0.02767,    0.126789,   -0.0759635, 0.121098,   0.0405861,   0.00972959,
  -0.011304,  -0.0166254, -0.0443834, 0.0307285,  -0.057004,   -0.0877993,
  0.00314376, 0.0302306,  -0.0127057, -0.0242177, -0.00113233, -0.0242625,
  0.133443,   0.110555,   -0.126315,  0.087721,   -0.0995809,  -0.0480722,
  0.155882,   0.0690852,  -0.0772831, 0.0284894
]);

/* tslint:enable:max-line-length */
